package com.demo.gulimall.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author Chen Yuan
 * @create 2023-05-24  11:02
 */
@SpringBootApplication
@EnableFeignClients(basePackages = "com.demo.gulimall.product.feign")
@MapperScan("com.demo.gulimall.product.entity")
@EnableDiscoveryClient
//@EnableCaching // 开启 Spring Cache, 移到 RedisConfig 配置类上, 关于缓存的配置、注解统一管理
public class MallProductMain_8081 {
	public static void main(String[] args) {
		SpringApplication.run(MallProductMain_8081.class, args);
	}
}
